<!DOCTYPE html>
<html lang="en">
  <head>
    <meta charset="utf-8">
    <title><?php echo Fw::app()->i18n('login')?></title>
    <meta name="viewport" content="width=device-width, initial-scale=1.0">
    <meta name="description" content="">
    <meta name="author" content="">

    <!-- Le styles -->
    <link href="<?php echo Fw::app()->baseUrl?>/js/bootstrap/css/bootstrap.css" rel="stylesheet">
    <link href="<?php echo Fw::app()->baseUrl?>/js/bootstrap/css/bootstrap.main.css" rel="stylesheet">
    <script src="<?php echo Fw::app()->baseUrl?>/js/jquery-1.9.1.min.js"></script>
    <script src="<?php echo Fw::app()->baseUrl?>/js/bootstrap/js/bootstrap.js"></script>
    <script src="<?php echo Fw::app()->baseUrl?>/js/bootstrap/js/bootstrap.main.js"></script>
    <style type="text/css">
      body {
        padding-top: 40px;
        padding-bottom: 40px;
        background-color: #f5f5f5;
      }

      .form-signin {
        max-width: 300px;
        padding: 19px 29px 29px;
        margin: 0 auto 20px;
        background-color: #fff;
        border: 1px solid #e5e5e5;
        -webkit-border-radius: 5px;
           -moz-border-radius: 5px;
                border-radius: 5px;
        -webkit-box-shadow: 0 1px 2px rgba(0,0,0,.05);
           -moz-box-shadow: 0 1px 2px rgba(0,0,0,.05);
                box-shadow: 0 1px 2px rgba(0,0,0,.05);
      }
      .form-signin .form-signin-heading,
      .form-signin .checkbox {
        margin-bottom: 10px;
      }
      .form-signin input[type="text"],
      .form-signin input[type="password"] {
        font-size: 16px;
        height: auto;
        margin-bottom: 15px;
        padding: 7px 9px;
      }

    </style>
    <link href="<?php echo Fw::app()->baseUrl?>/css/bootstrap-responsive.css" rel="stylesheet">

    <!-- HTML5 shim, for IE6-8 support of HTML5 elements -->
    <!--[if lt IE 9]>
      <script src="../assets/js/html5shiv.js"></script>
    <![endif]-->

    <!-- Fav and touch icons -->
  </head>

  <body>
   <?php echo $this->showError();?>
   
       <!-- Button to trigger modal -->
    <a href="#myModal" role="button" class="btn" data-toggle="modal">查看演示案例</a>
     
    <!-- Modal -->
    <div id="myModal"data-backdrop="false"  class="modal hide fade" tabindex="-1" role="dialog" aria-labelledby="myModalLabel" aria-hidden="true">
	    <div class="modal-header">
	    <button type="button" class="close" data-dismiss="modal" aria-hidden="true">×</button>
	    <h3 id="myModalLabel">Modal header</h3>
	    </div>
	    <div class="modal-body">
	    <p>One fine body…</p>
	    </div>
	    <div class="modal-footer">
	    <button class="btn" data-dismiss="modal" aria-hidden="true">关闭</button>
	    <button class="btn btn-primary">Save changes</button>
	    </div>
    </div>
   
    <div class="container">

      <form class="form-signin" action="<?php echo Fw::app()->getUrl();?>?r=login.signin">
        <h2 class="form-signin-heading"><?php echo  Fw::app()->i18n('Please sign in')?></h2>
        <input type="text" name="user" class="input-block-level" placeholder="Email address">
        <input type="password" name="pass" class="input-block-level" placeholder="Password">
        <label class="checkbox">
          <input type="checkbox"  name="remember-me" value="1"> <?php echo  Fw::app()->i18n('Remember me')?>
        </label>
        <button class="btn btn-large btn-primary" type="submit"><?php echo Fw::app()->i18n('login')?></button>
      </form>

    </div> <!-- /container -->

    <!-- Le javascript
    ================================================== -->
    <!-- Placed at the end of the document so the pages load faster -->
  </body>
</html>
